package cn.itcast.hiss.process.activiti.mapper;

import cn.itcast.hiss.message.sys.pojo.ProcessInstance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessHandleMapper {

    public List<ProcessInstance> activeStatusList(@Param("startUserId") String userId, @Param("tenantId") String userAppId,
                                                  @Param("name") String name, @Param("businessKey") String businessKey,
                                                  @Param("page") Long page, @Param("size") Long size);

    public long activeStatusTotal(@Param("startUserId") String userId, @Param("tenantId") String userAppId,
                                  @Param("name") String name,@Param("businessKey") String businessKey);
}
